package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆对象 vehicle_value_data
 *
 * @author ruoyi
 * @date 2022-10-01
 */
public class VehicleValueData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer vehicleId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String plateNumber;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 颜色 */
    @Excel(name = "颜色")
    private String colour;

    /** 是否重型机械车辆（推土机等） */
    @Excel(name = "是否重型机械车辆", readConverterExp = "推=土机等")
    private Integer HDV;

    /** 类型 */
    @Excel(name = "类型")
    private String vehicleType;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date happenTime;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String pictureAddress;

    /** 视频地址 */
    @Excel(name = "视频地址")
    private String videoAddress;

    /** 车牌号模型准确度 */
    @Excel(name = "车牌号模型准确度")
    private BigDecimal accuracyNumber;

    /** 重型机械模型准确度 */
    @Excel(name = "重型机械模型准确度")
    private BigDecimal accuracyType;

    /** 摄像头 */
    @Excel(name = "摄像头")
    private String device;

    /** 摄像头ID（外键） */
    @Excel(name = "摄像头ID", readConverterExp = "外=键")
    private Integer deviceId;

    /** 车辆特征向量 */
    @Excel(name = "车辆特征向量")
    private String vehicleFeatures;

    /** 锚框参数（x,y,w,h） */
    @Excel(name = "锚框参数", readConverterExp = "x=,y,w,h")
    private String anchor;

    /** 地点 */
    @Excel(name = "地点")
    private String coordinate;

    /** 等级 */
    @Excel(name = "等级")
    private Integer level;

    /** 1 当阳 2 殷墟 3 敦煌 4 通用 5模拟 */
    @Excel(name = "1 当阳 2 殷墟 3 敦煌 4 通用 5模拟")
    private Long unit;

    /** 其它 */
    @Excel(name = "其它")
    private String other;

    private Integer total;

    private Integer ristType;

    private Integer riskTypeId;

    public Integer getRiskTypeId() {
        return riskTypeId;
    }

    public void setRiskTypeId(Integer riskTypeId) {
        this.riskTypeId = riskTypeId;
    }

    public Integer getRistType() {
        return ristType;
    }

    public void setRistType(Integer ristType) {
        this.ristType = ristType;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public void setVehicleId(Integer vehicleId)
    {
        this.vehicleId = vehicleId;
    }

    public Integer getVehicleId()
    {
        return vehicleId;
    }
    public void setPlateNumber(String plateNumber)
    {
        this.plateNumber = plateNumber;
    }

    public String getPlateNumber()
    {
        return plateNumber;
    }
    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }
    public void setColour(String colour)
    {
        this.colour = colour;
    }

    public String getColour()
    {
        return colour;
    }
    public void setHDV(Integer HDV)
    {
        this.HDV = HDV;
    }

    public Integer getHDV()
    {
        return HDV;
    }
    public void setVehicleType(String vehicleType)
    {
        this.vehicleType = vehicleType;
    }

    public String getVehicleType()
    {
        return vehicleType;
    }
    public void setTime(Date time)
    {
        this.time = time;
    }

    public Date getTime()
    {
        return time;
    }
    public void setHappenTime(Date happenTime)
    {
        this.happenTime = happenTime;
    }

    public Date getHappenTime()
    {
        return happenTime;
    }
    public void setPictureAddress(String pictureAddress)
    {
        this.pictureAddress = pictureAddress;
    }

    public String getPictureAddress()
    {
        return pictureAddress;
    }
    public void setVideoAddress(String videoAddress)
    {
        this.videoAddress = videoAddress;
    }

    public String getVideoAddress()
    {
        return videoAddress;
    }
    public void setAccuracyNumber(BigDecimal accuracyNumber)
    {
        this.accuracyNumber = accuracyNumber;
    }

    public BigDecimal getAccuracyNumber()
    {
        return accuracyNumber;
    }
    public void setAccuracyType(BigDecimal accuracyType)
    {
        this.accuracyType = accuracyType;
    }

    public BigDecimal getAccuracyType()
    {
        return accuracyType;
    }
    public void setDevice(String device)
    {
        this.device = device;
    }

    public String getDevice()
    {
        return device;
    }
    public void setDeviceId(Integer deviceId)
    {
        this.deviceId = deviceId;
    }

    public Integer getDeviceId()
    {
        return deviceId;
    }
    public void setVehicleFeatures(String vehicleFeatures)
    {
        this.vehicleFeatures = vehicleFeatures;
    }

    public String getVehicleFeatures()
    {
        return vehicleFeatures;
    }
    public void setAnchor(String anchor)
    {
        this.anchor = anchor;
    }

    public String getAnchor()
    {
        return anchor;
    }
    public void setCoordinate(String coordinate)
    {
        this.coordinate = coordinate;
    }

    public String getCoordinate()
    {
        return coordinate;
    }
    public void setLevel(Integer level)
    {
        this.level = level;
    }

    public Integer getLevel()
    {
        return level;
    }
    public void setUnit(Long unit)
    {
        this.unit = unit;
    }

    public Long getUnit()
    {
        return unit;
    }
    public void setOther(String other)
    {
        this.other = other;
    }

    public String getOther()
    {
        return other;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("vehicleId", getVehicleId())
                .append("plateNumber", getPlateNumber())
                .append("brand", getBrand())
                .append("colour", getColour())
                .append("HDV", getHDV())
                .append("vehicleType", getVehicleType())
                .append("time", getTime())
                .append("happenTime", getHappenTime())
                .append("pictureAddress", getPictureAddress())
                .append("videoAddress", getVideoAddress())
                .append("accuracyNumber", getAccuracyNumber())
                .append("accuracyType", getAccuracyType())
                .append("device", getDevice())
                .append("deviceId", getDeviceId())
                .append("vehicleFeatures", getVehicleFeatures())
                .append("anchor", getAnchor())
                .append("coordinate", getCoordinate())
                .append("level", getLevel())
                .append("unit", getUnit())
                .append("other", getOther())
                .toString();
    }
}
